package com.huntmobile.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller  
@EnableAutoConfiguration 
public class HellowController {
	@RequestMapping("/hellow")  
    @ResponseBody  
    public String hellow(){  
		String B = "BBB";
		return "哈喽，Spring Boot 哟 AAA!小魔仙";
    }
	
	public static void main(String[] args) {  
        //第一个简单的应用，  
        SpringApplication.run(HellowController.class,args);  
  
    }  
}
